package com.qysoft.dtkj.dtkj_gl.actions.zglj;

import java.util.List;
import java.util.Map;

import com.jfinal.aop.Before;
import com.qysoft.dtkj.dtkj_gl.services.zglj.ZGLJService;
import com.qysoft.rapid.actions.JsonResultInterceptor;
import com.qysoft.rapid.actions.RapidAction;

public class ZGLJAction extends RapidAction {
	
	/**
	 * 调整至政策法规页面
	 */
	public void zcfgljIndex(){
		renderJsp("/WEB-INF/pages/zglj/zcfg.jsp");
	}
	
	/**
	 * 获取法规类别数据
	 * @throws Exception
	 */
	@Before(JsonResultInterceptor.class)
	public void getFgTypeTree() throws Exception {
		List<Map<String, String>> list = ZGLJService.getFgTypeTree();
		setJson(list);
	}
}
